import Router from 'koa-router'
const router = new Router({
  prefix: '/search'
})

// 获取搜索推荐数据
router.get('/getSearch', require('./recommend/getSearch'))

// 获取热门搜索
router.get('/getHotPlace', require('./recommend/getHotPlace'))

// 获取推荐内容
router.get('/resultsByKeywords', require('./recommend/resultsByKeywords'))

// 获取商品详情内容
router.get('/products', require('./recommend/products'))
export default router
